home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Skunkware 5
/
Skunkware 5.iso
/
tls
/
tls049.distar.Z
/
tls049.distar
/
tmp
/
init.popper
Wrap
Text File
|
1994-03-14
|
576b
|
21 lines
:
echo "Added pop entries to /etc/services"
sed -e '/^pop.*109\//d' -e '/^pop.*110\//d' \
-e '/^sunrpc.*111\/tcp/i\
pop2 109/tcp postoffice 2\
pop 110/tcp postoffice 3' /etc/services >/tmp/services.tmp
cp /tmp/services.tmp /etc/services
echo "Added pop entry to /etc/inetd.conf"
sed -e '/^pop.*stream/d' -e '$a\
pop stream tcp nowait root /etc/popper popper
' /etc/inetd.conf >/tmp/inetd.conf.tmp
cp /tmp/inetd.conf.tmp /etc/inetd.conf
PID=`ps -fu root|awk '/inetd.$/{print $2}'`
echo "Sending SIGHUP to inetd process (pid=$PID) to reload configuration"
kill -1 $PID